package com.easy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.context.annotation.Bean;

import java.io.Serializable;
import java.util.Date;
@Data

public class Member implements Serializable {

    private static final long serialVersionUID = 1L;
    private Integer id;                 // bigint 会员ID
    private Integer customer_id;         // bigint 顾客ID
    private Integer points;          // int 会员积分
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date create_time;   // datetime 会员开通时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date end_time;// datetime 会员到期时间
    private byte isdel;                 // bigint 会员ID
    private String photo;
    //关联customer
    private Customer customer;



}
